package com.zhxx.book.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Description:
 * @Author Alex
 * @Date 2022-11-14 10:49
 */
@Data
@TableName("teacher")
public class Teacher {
   @TableId(type = IdType.ASSIGN_ID)
   private Long id;

   private String name;

   private int age;

   private String sex;

   private int teachYear;

   private String photo;
}
